{extend name='common/_container'} 
{block name="content"} 
<div class="ibox float-e-margins"> 
	<div class="ibox-content"> 
		<table class="table table-bordered" style="word-break:break-all;"> 
			<tbody> 
				<tr> 
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">红娘昵称：</td>
					<td>{$info.name}</td>
				</tr> 
				<tr> 
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">电话：</td> 
					<td>{$info.phone}</td>   
				</tr>
                {if condition='$info.is_personal == 1'}
				<tr> 
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">身份证号：</td> 
					<td>{$info.id_number}</td>   
				</tr> 
				<tr> 
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">微信号：</td> 
					<td>{$info.wechat_number}</td>   
				</tr>

				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">头像：</td>
					<td>
						<a href="javascript:void(0)" onclick="openImg2('{$info.head_portrait}')"><img height='60' src="{$info.head_portrait}"></a>
					</td>
				</tr>

                {/if}
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">下级用户数：</td>
					<td>{$info.child_num}</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">下级佳人数：</td>
					<td>{$info.lower_matchmaker_num}</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">上级推荐人：</td>
					<td>{$info.top_matchmaker_name}</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">红娘等级：</td>
					<td>{$info.level_name}</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">服务区域：</td>
					<td>{$info.service_zone}</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">从业经验：</td>
					<td>{$info.work_years}</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">牵手成功数量：</td>
					<td>{$info.hand_success_num}</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">牵手成功图片：</td>
					<td>
						{foreach $info.hand_success_picture as $key=>$vo }
						<a href="javascript:void(0)" onclick="openImg2('{$vo}')"><img height='60' src="{$vo}"></a>
						{/foreach}
					</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">牵线成功案例详情：</td>
					<td>{$info.hand_success_desc}</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">红娘寄语：</td>
					<td>{$info.send_word}</td>
				</tr>
				<tr> 
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">省市区：</td>
					<td>{$info.province}{$info.city}{$info.county}</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">详细地址：</td> 
					<td>{$info.address}</td>   
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">生活照：</td>
					<td>
						{foreach $info.pictures as $key=>$vo }
						<a href="javascript:void(0)" onclick="openImg2('{$vo}')"><img height='60' src="{$vo}"></a>
						{/foreach}
					</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">红娘寄语视频：</td>
					<td>
						{foreach $info.videos as $key=>$vo }
						<div>
							<a href="{$vo}" target="_blank">{$vo}</a>
						</div>
						{/foreach}
					</td>
				</tr>

				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">红娘分享视频：</td>
					<td>
						{foreach $info.share_videos as $key=>$vo }
						<div>
							<a href="{$vo}" target="_blank">{$vo}</a>
						</div>
						{/foreach}
					</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">总结文字：</td>
					<td>{$info.summarize_txt}</td>
				</tr>


				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">男生概况：</td>
					<td>{$info.boy_desc}</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">女生概况：</td>
					<td>{$info.girl_desc}</td>
				</tr>

				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">红娘成功案例视频：</td>
					<td>
						{foreach $info.hand_success_videos as $key=>$vo }
						<div>
							<a href="{$vo}" target="_blank">{$vo}</a>
						</div>
						{/foreach}
					</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">总结视频：</td>
					<td>
						{foreach $info.summarize_videos as $key=>$vo }
						<div>
							<a href="{$vo}" target="_blank">{$vo}</a>
						</div>
						{/foreach}
					</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">红娘寄语视频：</td>
					<td>
						{foreach $info.videos as $key=>$vo }
						<div>
							<a href="{$vo}" target="_blank">{$vo}</a>
						</div>
						{/foreach}
					</td>
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">简介：</td> 
					<td>{$info.remarks}</td>   
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">创建时间：</td> 
					<td>{if $info.createtime}{$info.createtime|date='Y-m-d H:i:s'}{/if}</td>   
				</tr>
				<tr>
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">过期时间：</td>
					<td>{if $info.expiretime}{$info.expiretime|date='Y-m-d H:i:s'}{/if}</td>
				</tr>
				<!--<tr> -->
					<!--<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">平台id：</td> -->
					<!--<td>{$info.wxapp_id}</td>   -->
				<!--</tr> -->
				<tr> 
					<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">状态：</td> 
					<td><?php echo getFieldVal($info["status"],"通过|1|success,待审核|0|warning,拒绝|2|info");?></td>   
				</tr> 
				<!--<tr> -->
					<!--<td style="background-color:#F5F5F6; font-weight:bold; text-align:right" width="15%">用户id：</td> -->
					<!--<td>{$info.u_id}</td>   -->
				<!--</tr> -->
			</tbody> 
		</table> 
	</div> 
</div>
<script>
	openImg2 = function(value){
		var img = "<img src="+value+">";
		layer.open({
			type: 1,
			shade: false,
			title: false, //不显示标题
			area:['500px','500px'],
			content: img, //捕获的元素，注意：最好该指定的元素要存放在body最外层，否则可能被其它的相对元素所影响
			cancel: function () {
				//layer.msg('图片查看结束！', { time: 5000, icon: 6 });
			}
		});
	}

</script>
{/block} 
